package com.lagou.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author ZHAO Yudong
 * @Date 2020/11/6 15:04
 * @description：
 */
@Configuration // 表明当前类是一个配置类
@ComponentScan({"com.lagou"}) //开启注解扫描
@EnableTransactionManagement //开启spring注解事务的⽀持
public class SpringConfig {
}